package com.centit.springbootdemo04.enable;

import org.springframework.context.annotation.AnnotationConfigApplicationContext;

/**
 * @author zhao_jx
 * @date 2020/7/5 18:17
 */
public class TestEnableMain {
    public static void main(String[] args) {
        AnnotationConfigApplicationContext applicationContext = new AnnotationConfigApplicationContext(TestEnableConfiguration.class);
        for (String beanDefinitionName : applicationContext.getBeanDefinitionNames()) {
            System.out.println(beanDefinitionName);
        }
    }
}
